import BasePath from '../config';

const bookingIndex = {
	path: `${BasePath}/booking-management/booking-index`,
	name: 'booking-index',
	component: () => import('@/views/home/operate-panel/booking-management/booking-index.vue'),
	meta: {
		keepAlive: false
	},
}
const bookingDetail = {
	path: `${BasePath}/booking-management/booking-detail`,
	name: 'booking-detail',
	component: () => import('@/views/home/operate-panel/booking-management/booking-detail.vue'),
	meta: {
		keepAlive: false
	},
}

export default {
	path: `${BasePath}/booking-management`,
	name: 'booking-management',
	component: () => import('@/views/home/operate-panel/booking-management/tab-control.vue'),
	redirect:`${BasePath}/booking-management/booking-index`,
	meta: {
		keepAlive: false
	},
	children: [
		bookingIndex,
		bookingDetail
	]
}